#!/bin/bash
echo "stop..."
pid=`ps -ef | grep rzgl-0.0.1-SNAPSHOT.jar | grep -v grep | awk '{print $2}'`
echo "old process id: $pid"
if [ -n "$pid" ]
then
kill -9 $pid
fi
echo "stop success"